Rehabilitation of an unloved child: semi-splaying

نویسندگان

  • Gunnar Brinkmann
  • Jan Degraer
  • Karel De Loof
چکیده

Splay trees are widely considered as the classic examples of self-adjusting binary search trees and are part of probably every course on data structures and algorithms. Already in the first seminal paper on splay trees [7] alternative operations were introduced, among which semi-splaying. On the one hand the analysis of semi-splaying gives a smaller constant for the amortized complexity, however on the other hand the authors write: Whether any version of semi-splaying is an improvement over splaying depends on the access sequence. Semi-splaying may be better when the access pattern is stable, but splaying adapts much faster to changes in usage. Maybe this sentence was the reason that nobody seriously ran tests to compare the performance of semi-splaying and splaying. Semi-splaying is conceptually simpler than splaying, has the same asymptotic amortized complexity and, as will be clear from empirical data presented in this paper, the practical performance is better for almost all kinds of access sequences. So due to its efficiency there are good reasons to use semi-splaying instead of its more prominent brother for applications. Moreover, its simplicity makes it also very attractive for teaching. Copyright c © 2006 John Wiley & Sons, Ltd.

منابع مشابه

Effective Factors on Caring Role of Parents of Children with Cerebral Palsy

Introduction: Parents of children with cerebral palsy are exposed to the complications of the child’s care; they need kinds of support to reduce problems of care for the child. Therefore, the current study was done in order to discover the factors that influence role of caring parents while taking care of the cerebral palsy child. Methods: This study is part of a qualitative study that was don...

متن کامل

Exploring the Process of Mothering Co-occupations in Caring of Children with Cerebral Palsy at Home

Background Mothering co-occupations in caring for children with cerebral palsy (CP) are very challenging for mothers but play an important role in the daily life of children with CP.This study aimed to explore the mothering co-occupations process in caring for children with CP at home in an Iranian context. Materials and Methods A grounded theory approach was recruited using semi-structured i...

متن کامل

Prosthetic Reconstruction for a Child with a Congenital Bilateral Ear Deformity: Case Report

Objectives: Microtia is the most commonly seen congenital ear defect, and involves an auricular deformity either unilaterally or bilaterally. The aim of this study was to fabricate silicone prostheses for a child with bilateral microtia using an innovative technique. Methods: This method involved the construction of bilateral ear prostheses using clips, which were located within the layers o...

متن کامل

A simple bound for sequential access in splay trees

It is known that to traverse a binary tree in inorder, by repeated splay-to-root, uses O(n) rotations. Estimates vary from 15n to 4.5n in proofs of varying length and difficulty. We present a fairly easy estimate of 6n rotations. (1) The process under consideration is inorder traversal of a binary tree using repeated splay-to-root: n is the number of nodes in the tree. Call the operation of see...

متن کامل

Explanatory Model of Voluntary Childlessness among Iranian Couples in Tehran: A Grounded Theory Approach

Background: Global and Iranian statistics indicate a rise in the newly emerging phenomenon of voluntary childlessness as a permanent status among couples. Childlessness is one of the main challenges of modern society. In Iran, studies on the process of voluntary permanent childlessness are scarce. The present study aimed to investigate the causes and underlying factors of voluntary childlessnes...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

متن کامل
عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 39  شماره 

صفحات  -

تاریخ انتشار 2009